/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package execcommandenv;

import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author tandaica0612
 */
/*
 * Goi. chuong trinh gedit in ubuntu
 * */
public class SimpleExecutiveCommand {
    public static void main(String args[]){
        try {
            java.lang.Runtime.getRuntime().exec("gedit");
        } catch (IOException ex) {
            Logger.getLogger(SimpleExecutiveCommand.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
